package org.csu.webjpetstoreback.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.csu.webjpetstoreback.config.CommonResponse;
import org.csu.webjpetstoreback.model.Account;
import org.csu.webjpetstoreback.model.Signon;

import java.util.List;

public interface SignonService extends IService<Signon> {


    public CommonResponse<Signon> login(String username,String password);


    public CommonResponse<Signon> PostAccount(Signon signon);

    public CommonResponse<Signon> PutAccount(Signon signon);

}
